home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Multimedia
/
Resource Library: Multimedia.iso
/
hypertxt
/
msdos
/
hydos10
/
display.sys
< prev
next >
Wrap
Text File
|
1991-04-25
|
3KB
|
65 lines
DISPLAY.SYS
Use code page switching on EGA, LCD and PS/2 displays
See also <NLSFUNC> <COUNTRY> <DEVICE> <CONFIG.SYS>
DISPLAY.SYS is a device driver which allows you to use code page
switching on the IBM PC convertible LCD screen, EGA, and IBM Personal
System/2 displays.
USE: DEVICE=[d:][path] DISPLAY.SYS CON[:] = (type[,[hwcp][,n,m]])
type specifies the display adapter type. The display types are MONO,
CGA, EGA, and LCD.
hwcp specifies the code page supported directly by the hardware. The
possible hwcp are 437 (US), 850 (Mult), 860 (Port), 863 (Can-Fr), and
865 (Nor).
n specifies the number of additional codes that can be supported.
This value is referred to as the number of prepared code pages.
The allowable range of additional code pages n must be between 0
and 12 and is hardware dependant. The MONO and CGA cannot
support prepared pages. The value of n for these must be 0.
Each prepared code page requires a buffer in DISPLAY.SYS which hold
the corresponding character fonts.
m specifies the number of sub-fonts supported for each code page.
These sub-fonts vary for different adapters and display modes. If
the value of m is not specified then the default is the maximum
number of sub-fonts:
--------------------------------------
| Devices | Font Size | Default m |
|-----------|-----------|--------------|
|EGA | 8x8 8x14 | 2 |
|IBM PS/2 | 8x8 8x16 | 2 |
|Convertible| 8x8 | 1 |
--------------------------------------
------------------------------------
| Device|Default| n | m |Default|
| Type | n | | | m |
|-------|-------|------|-----|-------|
| CGA | 0 | 0 | 0 | 0 |
| MONO | 0 | 0 | 0 | 0 |
| EGA & | 1 | 1-12 | 1-2 | 2 |
| PS/2 | | | | |
| LCD | 1 | 1-12 | 1 | 1 |
|_______|_______|______|_____|_______|
The number of additional code page values may cause a buffer to be
used to hold the image data. The size of this buffer is dependent on
the display type.
EXAMPLE: DEVICE=C:\DOS\DISPLAY.SYS CON:=(EGA, 437, 2)
This example installs the code page switching support for the CON:
device. It also tells the CON: driver that the display is an Enhanced
Graphics Adapter with the 437 code page built in. The CON driver
holds up to two pages prepared by the use of the <MODE> command.
NOTE: If you are using <ANSI.SYS> and <DISPLAY.SYS>, the DEVICE=ANSI.SYS
statement must appear before the DEVICE=DISPLAY.SYS statement in the
<CONFIG.SYS> file.
NOTE: The display type EGA supports the Enhanced Graphics Adapter and
IBM Personal System/2. The IBM Personal System/2 video support is not
functionally equivalent to EGA video support.